home *** CD-ROM | disk | FTP | other *** search
- !!Script
- // Copyright ⌐ 1997-2001 - Modelworks Software
-
- // Insert script helper for:
-
- /**
- @Object: Application
- @Method: setConfiguration() sets a configuration value
- for the specified section and name.
- @Syntax: Application.setConfiguration(sectionName, name, value)
- @Summary: setConfiguration() - sets a configuration value
- */
-
- function DoCommand()
- {
- var editor = getActiveEditor();
- if (editor)
- {
- var selection = editor.getSelection();
- editor.replace("Application.setConfiguration(sectionName, name, value)", selection);
- editor.setActive("Insert Application.getConfiguration");
- }
- }
-
- !!/Script
-
-